<?php
/**
 * Created by PhpStorm.
 * User: 王飞
 * Date: 2017/8/20
 * Time: 21:39
 */
namespace app\admin\model;

use think\Model;

class Order extends Model
{
    public function staff()
    {
        return $this->belongsTo('staff','staff_id','id');
    }
    public function stafftype()
    {
        return $this->belongsTo('staffType','staff_type_id','id');
    }
}